/*
 * @Description: 请描述此文件
 * @Author: LDM
 * @Date: 2021-09-03 18:22:26
 * @LastEditors: LDM
 * @LastEditTime: 2021-09-17 09:49:03
 */

import type { IAppRouteRecordRaw } from '/@/router/types'
import Layout from '/@/layout/Index.vue'
export const errPageRoutes: Array<IAppRouteRecordRaw> = [
  {
    path: '/error',
    component: Layout,
    redirect: 'noredirect',
    meta: {
      title: 'errorPages',
      icon: '#icon404',
      hidden: true
    },
    children: [
      {
        path: '401',
        component: () => import('/@/views/error-page/401.vue'),
        name: 'Page401',
        meta: {
          title: 'page401'
        }
      },
      {
        path: '404',
        component: () => import('/@/views/error-page/404.vue'),
        name: 'Page404',
        meta: {
          title: 'page404'
        }
      }
    ]
  }
]
export default errPageRoutes
